package com.longyi.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资讯
 * </p>
 *
 * @author 龙毅
 * @since 2025-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Article对象", description="资讯")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "资讯标题")
    private String name;

    @ApiModelProperty(value = "资讯内容")
    private String content;

    @ApiModelProperty(value = "封面url")
    private String cover;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
